<!DOCTYPE HTML>
<!--
	Dimension by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
 <head>
  <title>
   Dimension by HTML5 UP
  </title>
  <!-- <meta charset="utf-8" /> -->
  <!-- <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" /> -->
  <meta charset="utf-8"/>
  <meta content="width=device-width,initial-scale=1.0" name="viewport"/>
  <link href="../../assets/css/article.css" rel="stylesheet"/>
  <link href="https://cdn.bootcss.com/highlight.js/9.15.8/styles/github.min.css" rel="stylesheet"/>
  <noscript>
   <link href="../../assets/css/noscript.css" rel="stylesheet"/>
  </noscript>
 </head>
 <body>
  <div id="app">
  </div>
  <!-- built files will be auto injected -->
 </body>
 <body class="is-preload">
  <!-- Wrapper -->
  <div id="wrapper">
   <!-- Main -->
   <div id="main">
    <article id="article">
     <h1 id="neo4j">
      Neo4j 使用记录
     </h1>
     <hr/>
     <div class="codehilite">
      <pre><span></span><code>First, you<span class="s1">'ll want our key:</span>

<span class="s1">cd /tmp</span>
<span class="s1">wget http://debian.neo4j.org/neotechnology.gpg.key</span>
<span class="s1">rpm --import neotechnology.gpg.key</span>
<span class="s1">Then, you'</span>ll want to add our yum repo to /etc/yum.repos.d/neo4j.repo:

cat <span class="s">&lt;&lt;EOF&gt;  /etc/yum.repos.d/neo4j.repo</span>
<span class="s">[neo4j]</span>
<span class="s">name=Neo4j Yum Repo</span>
<span class="s">baseurl=http://yum.neo4j.org/stable</span>
<span class="s">enabled=1</span>
<span class="s">gpgcheck=1</span>
<span class="s">EOF</span>
Finally, install a package

yum install neo4j-3.3.0

./bin/neo4j-admin  dump --database<span class="o">=</span>graph.db --to<span class="o">=</span>/home/download/neo4j.dump
/bin/neo4j-admin load --from<span class="o">=</span>/home/download/neo4j.dump --database<span class="o">=</span>graph.db --force

rm /var/lib/neo4j/data/dbms/auth
/bin/neo4j-admin set-initial-password <span class="m">123456</span>

http://172.18.0.44:7474/browser/
</code></pre>
     </div>
     <div class="codehilite">
      <pre><span></span><code>match<span class="o">(</span>n<span class="o">)</span> <span class="k">return</span> n
</code></pre>
     </div>
     <h2 id="_1">
      参考链接
     </h2>
     <ul>
      <li>
       <a href="https://neo4j.com/docs/operations-manual/3.1/installation/linux/rpm/">
        Red Hat / CentOS / Fedora
       </a>
      </li>
      <li>
       <a href="https://neo4j.com/docs/operations-manual/3.1/installation/">
        Chapter 2. Installation
       </a>
      </li>
      <li>
       <a href="https://blog.csdn.net/wzwdcld/article/details/80763251">
        Neo4j服务关闭启动·常用配置·快速设定新密码
       </a>
      </li>
      <li>
       <a href="https://blog.csdn.net/c1052981766/article/details/79530061">
        使用neo4j-admin进行neo4j数据备份、迁移
       </a>
      </li>
     </ul>
    </article>
   </div>
   <!-- Footer -->
   <footer id="footer">
    <p class="copyright">
     © Untitled. Design:
     <a href="https://html5up.net">
      HTML5 UP
     </a>
     .
    </p>
   </footer>
  </div>
  <!-- BG -->
  <div id="bg">
  </div>
  <!-- Scripts -->
  <script src="../assets/js/jquery.min.js">
  </script>
  <script src="../assets/js/browser.min.js">
  </script>
  <script src="../assets/js/breakpoints.min.js">
  </script>
  <script src="../assets/js/util.js">
  </script>
  <script src="../assets/js/main.js">
  </script>
 </body>
</html>
